<div class="row">
    <div class="col-xs-12">
        <div class="" role="tabpanel" data-example-id="togglable-tabs">
            <ul id="tab_list" class="nav nav-tabs bar_tabs" role="tablist">
                <li role="presentation" class="{if condition='$type==1'}active{/if}">
                    <a href="{:url('Agreement/index')}?type=1" >
                        我方收到的
                    </a>
                </li>
                <li role="presentation" class="{if condition='$type==2'}active{/if}">
                    <a href="{:url('Agreement/index')}?type=2">
                        我方发出的
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
{if condition="$type==1"}
{include file="agreement/receive" /}
{else/}
{include file="agreement/send" /}
{/if}